package com.atguigu.apiservice.mapper;

import com.atguigu.apiservice.entity.Book;
import com.atguigu.servicebase.VO.FrontVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2020-03-26
 */
public interface BookMapper extends BaseMapper<Book> {

    //根据Id获得书籍详情
    FrontVo getBookVoInfo(String id);

    //获得标签
    List<Book> getOneBookVo();


}
